About xxxScope
From Documentation
This documentation is for an older version of ZK. For the latest one, please click here.
Each xxxScope is a map of attribute of certain component. You can use it as a temporary space to save and retrieve data. It's a mechanism to realize communication between pages, applications. You have to understand each component's life cycle, to decide which scope you should use. In most cases, you should use session
.
setAttribute
, and getAttribute
are the api to set and get variable in certain xxxScope.